<template>
  <view class="classifyBody">
    <view class="back" @tap="back">
      <uni-icons type="arrow-left" size="28" />
      <text class="text">{{ title }}</text>
    </view>
    <view class="search">
      <uni-easyinput prefixIcon="search" v-model="value" placeholder="搜索图片" @change="search">
      </uni-easyinput>
    </view>
    <b style="padding: 20px;">没有搜索接口，没接！！！</b>
    <!-- <myShowImg :bottom="false" :Other="true"></myShowImg> -->
  </view>
</template>

<script lang="ts" setup>
import { onLoad } from '@dcloudio/uni-app'
import { onMounted, onBeforeUnmount, ref } from 'vue'

const title = ref("搜索图片")
const value = ref("")


const search = () => {
  console.log(value.value);
}


onLoad(() => {

})
const back = () => {
  uni.navigateBack()
}
onMounted(() => {

})
onBeforeUnmount(() => {

})
</script>

<style scoped lang="scss">
.classifyBody {
  width: 100%;
  padding-top: var(--status-bar-height);
  height: calc(100vh - var(--window-top) - var(--window-bottom));
  display: flex;
  flex-direction: column;
  overflow: hidden;

  .back {
    padding: 10rpx;
    display: flex;
    align-items: center;
    gap: 10px;

    .text {
      font-size: 17px;
    }
  }

  .search {
    width: 100%;
    padding: 10rpx;
  }
}
</style>